package cn.itcast.babasport.service.brand;

import java.util.List;

import cn.itcast.babasport.pojo.page.Pagination;
import cn.itcast.babasport.pojo.product.Brand;

public interface BrandService {

	public List<Brand> selectBrandListNoPage(String name,Integer isDisplay);

	public Pagination selectBrandListHavePage(String name,Integer isDisplay,Integer pageNo);
	
	public Brand selectBrandById(Long id);

	/**
	 * 品牌更新
	 * @param brand
	 * @throws Exception
	 */
	public void updateBrand(Brand brand) throws Exception;
	/**
	 * 添加商品分类信息
	 * @param brand
	 */
	public void insertBrand(Brand brand);
	/**
	 * 批量删除商品分类信息
	 * @param ids
	 */
	public void deleteBatchBrand(Long[] ids);
}
